.seg "INTERRUPT_TABLE", text
.global InterruptTable
	
InterruptTable:
	FLAG 0				      ; IRQ 0
	b	_start	
	jal	MEM_ERROR_ISR	              ; IRQ 1
	jal	BAD_INSTRUCTION_ISR	      ; IRQ 2
	jal	BAD_INSTRUCTION_ISR           ; IRQ 3
	jal	BAD_INSTRUCTION_ISR	      ; IRQ 4
	jal	BAD_INSTRUCTION_ISR	      ; IRQ 2
	jal	BAD_INSTRUCTION_ISR	      ; IRQ 2
	jal	BAD_INSTRUCTION_ISR	      ; IRQ 2
	jal	BAD_INSTRUCTION_ISR	      ; IRQ 2
	jal	ButtonPanelHandler	      ; IRQ 9
MEM_ERROR_ISR:
BAD_INSTRUCTION_ISR:
	flag	1
	nop
	nop
	nop
